-- GENERATED SPELL FOR [Bloodfury Windcaller] --


function spell0_4026(pUnit, Event) --@Enveloping Winds,n/a--
pUnit:FullCastSpellOnTarget(6728,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4026', 12000, 1)
end

function Sorts_4026(pUnit, Event)
local choix_sorts_4026 = math.random(0, 0)
if choix_sorts_4026 == 0 then
pUnit:RegisterEvent('spell0_4026', 1, 1)
end
end

function mob4026_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4026', math.random(1500, 3000), 1)
end

function mob4026_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4026_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4026_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4026, 1, 'mob4026_Action')
RegisterUnitEvent(4026, 2, 'mob4026_Leave')
RegisterUnitEvent(4026, 3, 'mob4026_Kill')
RegisterUnitEvent(4026, 4, 'mob4026_Die')
